package com.htjc.integral.house.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.htjc.integral.model.house.EcBpAccount;
import com.htjc.integral.model.house.EcBpPowerUserIncome;
import com.htjc.integral.model.house.EcBpPowerUserTransfer;


@Mapper
public interface ConsMapper {

	public int insertConsAccount(EcBpAccount ecBpAccount);
	
	public Map<String, Object> queryConsBalance(@Param("provinceCode")String provinceCode, @Param("consNo")String consNo, @Param("orgNo")String orgNo);
	
	public void insertConsUserIncome(EcBpPowerUserIncome ecBpPowerUserIncome);
	
	public void updateConsAccount(EcBpAccount ecBpAccount);
	
	public void insertConsTransfer(EcBpPowerUserTransfer ecBpPowerUserTransfer);

	public String queryIdByAccount(@Param("provinceCode")String provinceCode, @Param("consNo")String consNo, @Param("orgNo")String orgNo);
	
	public String querySeq(@Param("seqName")String seqName);
}
